package org.example.design.observer.test2;


/**
 * @author huangshen
 * @version 0
 * @description 观察者抽象类
 * @since 2022/2/11 14:23
 */
public abstract class Observer {

    protected Subject subject;

    /**
     * 变化监控
     */
    public abstract void update();

}
